<?php 
if (! defined('BASEPATH')) {
	exit('Access Denied');
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>系统用户编辑</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>/static/css/admin/base.css">
<link rel="stylesheet" href="<?php echo base_url();?>/static/js/editor/themes/default/default.css" />


<script src="<?php echo base_url();?>/static/js/jquery.js" language="javascript"></script>

<script src="<?php echo base_url();?>/static/js/validate/validator.js" language="javascript"></script>

<script type="text/javascript">
$(document).ready(function() {
//提交
$("#btnSave").click(function(){
    if($("#newform").Valid() == false || !$("#newform").Valid()) return false;
});

});

</script>
</head>
<body leftmargin="8" topmargin="8">
<div class="nav_des">
<span class="des">系统管理>></span>
	<a href="<?php echo site_url("admin/system/index/system_list");?>">系统用户管理</a>
	<a href="<?php echo site_url("admin/system/index/system_edit");?>" class="nav_des_hover">系统用户编辑</a>

</div>

<!--  内容列表   -->


<form name="form2" method="post" name="" action="<?php echo site_url("admin/system/index/system_edit");?>" id="newform">
<input type="hidden" value="<?php echo $one['id'];?>" name="id">
<input type="hidden" value="system_edit_do" name="action">
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
<tr bgcolor="#E7E7E7" >
	<td height="24" colspan="" >&nbsp;系统编辑&nbsp;</td>
</tr>
<tr align="" bgcolor="#FAFAF1" height="30">
	<td >系统用户名称:<input type="text" name="sys_name" class="form_input"  required="true" errmsg="请输入60个字符之内" tip="请输入60个字符之内" style="width:300px" value="<?php echo $one['sys_user'];?>"> </td>
</tr>
<tr align="" bgcolor="#FAFAF1" height="30">

	<td>密码:<input type="password" id="passwd"  name="passwd" style="width:300px" class="form_input" required="true" value="<?php echo $one['passwd'];?>" /></td>
</tr>

<tr align="" bgcolor="#FAFAF1" height="30">

	<td>密码保留不变:<input type="checkbox" id=""  name="isedit" checked value="1" /></td>
</tr>
<tr align="" bgcolor="#FAFAF1" height="22">
	<td >系统状态:开启:<input type="radio" name="status" value="Y" <?php if($one['status'] == 'Y'){echo "checked";}?>>关闭:<input type="radio" name="status" value="N" <?php if($one['status'] == 'N'){echo "checked";}?>></td>
</tr>




<tr bgcolor="#FAFAF1">
<td height="28" colspan="">
	&nbsp;

	<input type="submit" value="提&nbsp;&nbsp;交" class="coolbg" id='btnSave'>
</td>
</tr>

</table>

</form>

</body>
</html>